package com.baizhi.dao;

import com.baizhi.entity.Emp;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmpDao {

    List<Emp> findAll();

    Emp findById(String id);

    int save(Emp emp);

    int update(Emp emp);

    int deleteById(String id);
}
